.class Landroid/support/v4/widget/ScrollerCompat$ScrollerCompatImplGingerbread;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/support/v4/widget/ScrollerCompat$ScrollerCompatImpl;


# instance fields
.field private mChaser:Landroid/support/v4/widget/ScrollerCompat$Chaser;


# direct methods
.method public constructor <init>()V
    .locals 1

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    invoke-virtual {p0}, Landroid/support/v4/widget/ScrollerCompat$ScrollerCompatImplGingerbread;->createChaser()Landroid/support/v4/widget/ScrollerCompat$Chaser;

    move-result-object v0

    iput-object v0, p0, Landroid/support/v4/widget/ScrollerCompat$ScrollerCompatImplGingerbread;->mChaser:Landroid/support/v4/widget/ScrollerCompat$Chaser;

    return-void
.end method

.method private isSmoothingEnabled()Z
    .locals 1

    iget-object v0, p0, Landroid/support/v4/widget/ScrollerCompat$ScrollerCompatImplGingerbread;->mChaser:Landroid/support/v4/widget/ScrollerCompat$Chaser;

    if-eqz v0, :cond_0

    iget-object v0, p0, Landroid/support/v4/widget/ScrollerCompat$ScrollerCompatImplGingerbread;->mChaser:Landroid/support/v4/widget/ScrollerCompat$Chaser;

    invoke-virtual {v0}, Landroid/support/v4/widget/ScrollerCompat$Chaser;->isSmoothingEnabled()Z

    move-result v0

    if-eqz v0, :cond_0

    const/4 v0, 0x1

    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method


# virtual methods
.method public abortAnimation(Ljava/lang/Object;)V
    .locals 1

    iget-object v0, p0, Landroid/support/v4/widget/ScrollerCompat$ScrollerCompatImplGingerbread;->mChaser:Landroid/support/v4/widget/ScrollerCompat$Chaser;

    if-eqz v0, :cond_0

    iget-object v0, p0, Landroid/support/v4/widget/ScrollerCompat$ScrollerCompatImplGingerbread;->mChaser:Landroid/support/v4/widget/ScrollerCompat$Chaser;

    invoke-virtual {v0}, Landroid/support/v4/widget/ScrollerCompat$Chaser;->abort()V

    :cond_0
    invoke-static {p1}, Landroid/support/v4/widget/ScrollerCompatGingerbread;->abortAnimation(Ljava/lang/Object;)V

    return-void
.end method

.method public computeScrollOffset(Ljava/lang/Object;)Z
    .locals 4

    invoke-static {p1}, Landroid/support/v4/widget/ScrollerCompatGingerbread;->computeScrollOffset(Ljava/lang/Object;)Z

    move-result v0

    invoke-direct {p0}, Landroid/support/v4/widget/ScrollerCompat$ScrollerCompatImplGingerbread;->isSmoothingEnabled()Z

    move-result v1

    if-eqz v1, :cond_1

    iget-object v1, p0, Landroid/support/v4/widget/ScrollerCompat$ScrollerCompatImplGingerbread;->mChaser:Landroid/support/v4/widget/ScrollerCompat$Chaser;

    invoke-static {p1}, Landroid/support/v4/widget/ScrollerCompatGingerbread;->getCurrX(Ljava/lang/Object;)I

    move-result v2

    invoke-static {p1}, Landroid/support/v4/widget/ScrollerCompatGingerbread;->getCurrY(Ljava/lang/Object;)I

    move-result v3

    invoke-virtual {v1, v2, v3}, Landroid/support/v4/widget/ScrollerCompat$Chaser;->setTarget(II)V

    iget-object v1, p0, Landroid/support/v4/widget/ScrollerCompat$ScrollerCompatImplGingerbread;->mChaser:Landroid/support/v4/widget/ScrollerCompat$Chaser;

    invoke-virtual {v1}, Landroid/support/v4/widget/ScrollerCompat$Chaser;->isFinished()Z

    move-result v1

    if-nez v1, :cond_1

    iget-object v1, p0, Landroid/support/v4/widget/ScrollerCompat$ScrollerCompatImplGingerbread;->mChaser:Landroid/support/v4/widget/ScrollerCompat$Chaser;

    invoke-virtual {v1}, Landroid/support/v4/widget/ScrollerCompat$Chaser;->computeScrollOffset()Z

    move-result v1

    if-nez v1, :cond_0

    if-eqz v0, :cond_2

    :cond_0
    const/4 v0, 0x1

    :cond_1
    :goto_0
    return v0

    :cond_2
    const/4 v0, 0x0

    goto :goto_0
.end method

.method protected createChaser()Landroid/support/v4/widget/ScrollerCompat$Chaser;
    .locals 1

    new-instance v0, Landroid/support/v4/widget/ScrollerCompat$Chaser;

    invoke-direct {v0}, Landroid/support/v4/widget/ScrollerCompat$Chaser;-><init>()V

    return-object v0
.end method

.method public createScroller(Landroid/content/Context;Landroid/view/animation/Interpolator;)Ljava/lang/Object;
    .locals 1

    invoke-static {p1, p2}, Landroid/support/v4/widget/ScrollerCompatGingerbread;->createScroller(Landroid/content/Context;Landroid/view/animation/Interpolator;)Ljava/lang/Object;

    move-result-object v0

    return-object v0
.end method

.method public fling(Ljava/lang/Object;IIIIIIII)V
    .locals 1

    invoke-direct {p0}, Landroid/support/v4/widget/ScrollerCompat$ScrollerCompatImplGingerbread;->isSmoothingEnabled()Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Landroid/support/v4/widget/ScrollerCompat$ScrollerCompatImplGingerbread;->mChaser:Landroid/support/v4/widget/ScrollerCompat$Chaser;

    invoke-virtual {v0}, Landroid/support/v4/widget/ScrollerCompat$Chaser;->abort()V

    iget-object v0, p0, Landroid/support/v4/widget/ScrollerCompat$ScrollerCompatImplGingerbread;->mChaser:Landroid/support/v4/widget/ScrollerCompat$Chaser;

    invoke-virtual {v0, p2, p3}, Landroid/support/v4/widget/ScrollerCompat$Chaser;->setCurrentPosition(II)V

    :cond_0
    invoke-static/range {p1 .. p9}, Landroid/support/v4/widget/ScrollerCompatGingerbread;->fling(Ljava/lang/Object;IIIIIIII)V

    return-void
.end method

.method public fling(Ljava/lang/Object;IIIIIIIIII)V
    .locals 1

    invoke-direct {p0}, Landroid/support/v4/widget/ScrollerCompat$ScrollerCompatImplGingerbread;->isSmoothingEnabled()Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Landroid/support/v4/widget/ScrollerCompat$ScrollerCompatImplGingerbread;->mChaser:Landroid/support/v4/widget/ScrollerCompat$Chaser;

    invoke-virtual {v0}, Landroid/support/v4/widget/ScrollerCompat$Chaser;->abort()V

    iget-object v0, p0, Landroid/support/v4/widget/ScrollerCompat$ScrollerCompatImplGingerbread;->mChaser:Landroid/support/v4/widget/ScrollerCompat$Chaser;

    invoke-virtual {v0, p2, p3}, Landroid/support/v4/widget/ScrollerCompat$Chaser;->setCurrentPosition(II)V

    :cond_0
    invoke-static/range {p1 .. p11}, Landroid/support/v4/widget/ScrollerCompatGingerbread;->fling(Ljava/lang/Object;IIIIIIIIII)V

    return-void
.end method

.method public getCurrVelocity(Ljava/lang/Object;)F
    .locals 1

    const/4 v0, 0x0

    return v0
.end method

.method public getCurrX(Ljava/lang/Object;)I
    .locals 1

    invoke-direct {p0}, Landroid/support/v4/widget/ScrollerCompat$ScrollerCompatImplGingerbread;->isSmoothingEnabled()Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Landroid/support/v4/widget/ScrollerCompat$ScrollerCompatImplGingerbread;->mChaser:Landroid/support/v4/widget/ScrollerCompat$Chaser;

    invoke-virtual {v0}, Landroid/support/v4/widget/ScrollerCompat$Chaser;->getCurrX()I

    move-result v0

    :goto_0
    return v0

    :cond_0
    invoke-static {p1}, Landroid/support/v4/widget/ScrollerCompatGingerbread;->getCurrX(Ljava/lang/Object;)I

    move-result v0

    goto :goto_0
.end method

.method public getCurrY(Ljava/lang/Object;)I
    .locals 1

    invoke-direct {p0}, Landroid/support/v4/widget/ScrollerCompat$ScrollerCompatImplGingerbread;->isSmoothingEnabled()Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Landroid/support/v4/widget/ScrollerCompat$ScrollerCompatImplGingerbread;->mChaser:Landroid/support/v4/widget/ScrollerCompat$Chaser;

    invoke-virtual {v0}, Landroid/support/v4/widget/ScrollerCompat$Chaser;->getCurrY()I

    move-result v0

    :goto_0
    return v0

    :cond_0
    invoke-static {p1}, Landroid/support/v4/widget/ScrollerCompatGingerbread;->getCurrY(Ljava/lang/Object;)I

    move-result v0

    goto :goto_0
.end method

.method public getFinalX(Ljava/lang/Object;)I
    .locals 1

    invoke-static {p1}, Landroid/support/v4/widget/ScrollerCompatGingerbread;->getFinalX(Ljava/lang/Object;)I

    move-result v0

    return v0
.end method

.method public getFinalY(Ljava/lang/Object;)I
    .locals 1

    invoke-static {p1}, Landroid/support/v4/widget/ScrollerCompatGingerbread;->getFinalY(Ljava/lang/Object;)I

    move-result v0

    return v0
.end method

.method public isFinished(Ljava/lang/Object;)Z
    .locals 1

    invoke-direct {p0}, Landroid/support/v4/widget/ScrollerCompat$ScrollerCompatImplGingerbread;->isSmoothingEnabled()Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Landroid/support/v4/widget/ScrollerCompat$ScrollerCompatImplGingerbread;->mChaser:Landroid/support/v4/widget/ScrollerCompat$Chaser;

    invoke-virtual {v0}, Landroid/support/v4/widget/ScrollerCompat$Chaser;->isFinished()Z

    move-result v0

    if-eqz v0, :cond_1

    :cond_0
    invoke-static {p1}, Landroid/support/v4/widget/ScrollerCompatGingerbread;->isFinished(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    const/4 v0, 0x1

    :goto_0
    return v0

    :cond_1
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public isOverScrolled(Ljava/lang/Object;)Z
    .locals 1

    invoke-static {p1}, Landroid/support/v4/widget/ScrollerCompatGingerbread;->isOverScrolled(Ljava/lang/Object;)Z

    move-result v0

    return v0
.end method

.method public notifyHorizontalEdgeReached(Ljava/lang/Object;III)V
    .locals 0

    invoke-static {p1, p2, p3, p4}, Landroid/support/v4/widget/ScrollerCompatGingerbread;->notifyHorizontalEdgeReached(Ljava/lang/Object;III)V

    return-void
.end method

.method public notifyVerticalEdgeReached(Ljava/lang/Object;III)V
    .locals 0

    invoke-static {p1, p2, p3, p4}, Landroid/support/v4/widget/ScrollerCompatGingerbread;->notifyVerticalEdgeReached(Ljava/lang/Object;III)V

    return-void
.end method

.method public startScroll(Ljava/lang/Object;IIII)V
    .locals 1

    invoke-direct {p0}, Landroid/support/v4/widget/ScrollerCompat$ScrollerCompatImplGingerbread;->isSmoothingEnabled()Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Landroid/support/v4/widget/ScrollerCompat$ScrollerCompatImplGingerbread;->mChaser:Landroid/support/v4/widget/ScrollerCompat$Chaser;

    invoke-virtual {v0}, Landroid/support/v4/widget/ScrollerCompat$Chaser;->abort()V

    iget-object v0, p0, Landroid/support/v4/widget/ScrollerCompat$ScrollerCompatImplGingerbread;->mChaser:Landroid/support/v4/widget/ScrollerCompat$Chaser;

    invoke-virtual {v0, p2, p3}, Landroid/support/v4/widget/ScrollerCompat$Chaser;->setCurrentPosition(II)V

    :cond_0
    invoke-static {p1, p2, p3, p4, p5}, Landroid/support/v4/widget/ScrollerCompatGingerbread;->startScroll(Ljava/lang/Object;IIII)V

    return-void
.end method

.method public startScroll(Ljava/lang/Object;IIIII)V
    .locals 1

    invoke-direct {p0}, Landroid/support/v4/widget/ScrollerCompat$ScrollerCompatImplGingerbread;->isSmoothingEnabled()Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Landroid/support/v4/widget/ScrollerCompat$ScrollerCompatImplGingerbread;->mChaser:Landroid/support/v4/widget/ScrollerCompat$Chaser;

    invoke-virtual {v0}, Landroid/support/v4/widget/ScrollerCompat$Chaser;->abort()V

    iget-object v0, p0, Landroid/support/v4/widget/ScrollerCompat$ScrollerCompatImplGingerbread;->mChaser:Landroid/support/v4/widget/ScrollerCompat$Chaser;

    invoke-virtual {v0, p2, p3}, Landroid/support/v4/widget/ScrollerCompat$Chaser;->setCurrentPosition(II)V

    :cond_0
    invoke-static/range {p1 .. p6}, Landroid/support/v4/widget/ScrollerCompatGingerbread;->startScroll(Ljava/lang/Object;IIIII)V

    return-void
.end method
